<title>转发空间说说 设置</title>
<div class="p5 o-h">
    <div class="lan bold">[24H自动] 转发他人QQ空间发表的说说</div>
    <hr/>
    <form role="form" id="qqsetgn" onsubmit="return false;"><input type="hidden"
                                                                                                           name="qid"
                                                                                                           value="{$job.qid}">
    <input type="hidden" name="id" value="{$job.uid}">
    <div class="pt2 pb2 in-text bold">
        <dt class="f4 pr5">功能开关</dt>
        <dd>  <label class="i-checks"><input type="radio" name="is" value="0"
                                                                                                 {if
                                                                                                 condition="$job.start eq 0"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                             ><i></i>关闭</label>
            <label class="i-checks ml4"><input type="radio" value="1" name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 1"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                               ><i></i>开启</label></dd>
    </div>
    <hr/>
    <div class="pt3 pb3">
        <div class="pb9"><font class="f4 bold">运行频率</font><font class="ml4 f3 hui">单位：分钟
            （每隔设定的分钟自动转发一次，每次转发最新的一篇说说）</font></div>
        <input data-ui-slider="" name="rate" type="text" {if
                                                                                                 condition="$job.rate eq ''"
                                                                                                 }
                                                                                                 value="300"
																								 data-slider-value="300"
                                                                                                 {else}value="{$job.rate}"
																								 data-slider-value="{$job.rate}"
																								 {/if} data-slider-min="1" data-slider-max="1200"
               data-slider-step="5" data-slider-tooltip="always"
               data-slider-orientation="horizontal" class="slider slider-horizontal"></div>
    <hr/>

        <input type="hidden" name="xy" value="1">
        <div class="pt2 pb3">
            <div class="mt3"><font class="f4 bold">转发QQ列表</font><font class="ml4 f2 hui dl">（多个QQ号之间请使用|隔开）</font></div>
            <div class="mt2"><textarea type="text" class="form w b" name="qqlist" placeholder="输入需要转发的QQ号码" rows="3"
                                       onkeyup="this.value=this.value.replace(/[^\d\.]/,'')"
                                       autocomplete="off">{$job.list}</textarea></div>
        </div>
        <div class="pt2 pb3">
            <div><font class="f4 bold">附带内容</font><font class="ml4 f2 hui dl">转发说说时附带的内容</font></div>
            <div class="mt2"><textarea type="text" class="form w b" name="con" placeholder="输入转发说说时附带的内容" rows="3"
                                       autocomplete="off">{$job.data}</textarea></div>
        </div>
    <div class="pt6 pb4">
        <button class="btn btn-qing btn-md btn-block rx1" onclick="ajax_gnset_zf();">保 存 设 置</button>
    </div>
</div>
</from>
<script type="text/javascript">
    $('[data-ui-slider]').slider();

    function ajax_gnset_zf() {
        var data = $("#qqsetgn").serialize();
        x.ajax('{:url('pc_ajax/gnset',['act'=>'zf'])}', data);
    }
</script>